package com.gsc.funnycode.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author: Orange
 * @Date: 15:13 2022/5/1
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AddMoney {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    private String reason;
    private BigDecimal money;
    private String type;
    @DateTimeFormat(pattern = "YYYY-mm-dd")
    private Date date;
    private Integer uid;
}
